import request from "@/utils/request";

// 查询配置列表-manager:evaluate:list
export function getStudentEvaluateList(params) {
  return request({
    url: "/school/manager/StudentEvaluate/list",
    method: "get",
    params: params,
  });
}
// 评价大类-新增-manager:evaluate:add
export function addStudentEvaluate(data) {
  return request({
    url: "/school/manager/StudentEvaluate/add",
    method: "post",
    data: data,
  });
}
// 评价大类-修改-manager:evaluate:edit
export function editStudentEvaluate(data) {
  return request({
    url: "/school/manager/StudentEvaluate/edit",
    method: "put",
    data: data,
  });
}
// 评价大类-删除-manager:evaluate:remove
export function removeStudentEvaluate(ids) {
  return request({
    url: `/school/manager/StudentEvaluate/remove/${ids}`,
    method: "delete",
  });
}
// 评价大类-排序
export function sortStudentEvaluate(ids) {
  return request({
    url: `/school/manager/StudentEvaluate/sort/${ids}`,
    method: "put",
  });
}

// 评价属性-新增
export function addStudentEvaluateParam(data) {
  return request({
    url: "/school/manager/StudentEvaluate/param/add",
    method: "post",
    data: data,
  });
}
// 评价属性-修改
export function editStudentEvaluateParam(data) {
  return request({
    url: "/school/manager/StudentEvaluate/param/edit",
    method: "put",
    data: data,
  });
}

// 评价属性-删除
export function removeStudentEvaluateParam(ids) {
  return request({
    url: `/school/manager/StudentEvaluate/param/remove/${ids}`,
    method: "delete",
  });
}

// 评价属性-排序
export function sortStudentEvaluateParam(ids) {
  return request({
    url: `/school/manager/StudentEvaluate/param/sort/${ids}`,
    method: "put",
  });
}
